package com.wgchao.mdmp.repository;

import com.wgchao.mdmp.entity.MdmpGxy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @作者  wgchao
 * @时间 2019-11-03 
 * @用途  
 */
@Repository
public interface MdmpGxyRepository  extends JpaRepository<MdmpGxy, Long>, JpaSpecificationExecutor<MdmpGxy> {

    MdmpGxy findFirstByIdcardAndUpTime(String idcard, Date upTime);

}
